package com.company.gjtx.common.util;

/*******************************************************************************
 * AJAX返回对象 结果集
 * 
 */

public class AjaxBackData {

	private boolean success = true;

	private String msg;

	private String id;

	public AjaxBackData() {
	}

	public AjaxBackData(boolean success, String msg) {
		this.id = java.util.UUID.randomUUID().toString();
		this.success = success;
		this.msg = msg;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
